proc deauth {nick host handle arg} {
global botnick home cryptkey bcast

  puthelp "NOTICE $nick :\0033Your authentication has been successfully removed"
  puthelp "NOTICE $nick :You may authenticate yourself later by typing (/msg) $botnick auth <password>"

if {$bcast == "1"} {
  putquick "PRIVMSG $home :\0034\002$nick\002 who registered with the nick $handle and is connecting from $host has removed authentication from themself.\003"
}
  chattr $handle -A
  save

if [string match global $arg] {
	putallbots "deauth $nick $host $handle /dev/null"
	putquick "NOTICE $nick :Logging you off all bots on botnet. Please Wait.."
}
  }









